import request from '@/utils/request'

export function testTaskInfoList(query) {
  return request({
    url: '/exam/taskInfo/list',
    method: 'get',
    params: query
  })
}

export function testTaskInfoAddOrUpdate(data) {
  return request({
    url: '/exam/taskInfo/addOrUpdate',
    method: 'post',
    data
  })
}

export function testTaskInfoDelete(id) {
  return request({
    url: '/exam/taskInfo/delete/' + id,
    method: 'get'
  })
}
